package com.example.department.Impl;

import com.example.department.Entity.Activity;
import com.example.department.Entity.Apply;
import com.example.department.Entity.Fengcaixiu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.sql.Date;
import java.util.List;

@Mapper
@Repository
public interface FengcaixiuImpl { //风采秀
    List<Fengcaixiu> getFengcaixiuList(@Param("fengcaixiu") Fengcaixiu fengcaixiu); //查询全部活动信息
    int addFengcaixiu(@Param("fengcaixiu") Fengcaixiu fengcaixiu); //增加活动信息
    int delFengcaixiu(@Param("fid") int fid); //删除活动信息
    int updateFengcaixiu(@Param("fengcaixiu") Fengcaixiu apply); //修改活动信息
    Fengcaixiu getFengcaixiuById(@Param("fid") int fid); //根据id查询
    List<Fengcaixiu> getFengcaixiuPageList(@Param("fengcontent") String fengcontent, @Param("Start") int Start, @Param("Page") int Page);//获取列表
}
